package com.sun.service;

import com.sun.entity.User;

import java.util.List;

public interface UserService {
	
	User selectUserById(Integer id);
	
	int addUser(User user);

	List<User> getUserList() throws Exception;

	User updateByid(Integer id, User updatedUser) throws Exception;

	void deleteByid(Integer id);

	int updateUser(User user);
}